package com.cq.hd.order.api.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NonNull;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 0元开团
 *
 * @author Much
 * @since 2024/09/22 18:56
 */
@Data
public class CreateZeroGroupBuyOrderDto implements Serializable {
    private static final long serialVersionUID = -4478063774299906139L;

    @NotNull(message = "活动id不能为空")
    @ApiModelProperty(value = "活动id")
    private Long activeId;

    @NotNull(message = "请选择奖励类型")
    @ApiModelProperty(value = "推广奖励类型（0-无，1-佣金，2-其他权益，3-积分）")
    private Integer rewardType;

    private Long userId;

    private String activeTitle;

}
